<template>
  <div>
    <a v-bind:href="url">百度一下</a>
    <a :href="url1">百度一下</a>
    <input type="text" :value="msg" />
    <input type="checkbox" :checked="flag" />
    <img :src="imgurl" alt="" />
  </div>
</template>

<script>
export default {
  //
  name: 'directive-component',
  data() {
    return {
      flag: true,
      url: 'http://www.baidu.com',
      url1: 'http://www.baidu.com',
      msg: '好好学习天天向上',
      imgurl:
        'https://pic1.zhimg.com/v2-edad7b0b71412e2e65beb1ce79d53454_r.jpg?source=1940ef5c',
    }
  },
}
</script>
